package com.linghui.videoplus.ipai.utils;

public class StringUtil {
	
	/**
	 * 
	 * @param arg0
	 * @return
	 */
	public static boolean isEmpty(String arg0) {
		return arg0 == null || arg0.length() == 0;
	}
	
	/**
	 * 
	 * @param arg0
	 * @return
	 */
	public static boolean isEMailAddress(String arg0) {
		return arg0.indexOf('@') != -1;
	}
	
	/**
	 * 
	 * @param arg0
	 * @param arg1
	 * @return
	 */
	public static boolean compare(String arg0, String arg1) {
		return arg0.equals(arg1);
	}
	
}
